home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / VMALLOC.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  545b  |  25 lines

  1. #ifndef __LINUX_VMALLOC_H
  2. #define __LINUX_VMALLOC_H
  3.  
  4. #include <linux/sched.h>
  5. #include <linux/mm.h>
  6.  
  7. #include <asm/pgtable.h>
  8.  
  9. struct vm_struct {
  10.     unsigned long flags;
  11.     void * addr;
  12.     unsigned long size;
  13.     struct vm_struct * next;
  14. };
  15.  
  16. struct vm_struct * get_vm_area(unsigned long size);
  17. void vfree(void * addr);
  18. void * vmalloc(unsigned long size);
  19. long vread(char *buf, char *addr, unsigned long count);
  20. void vmfree_area_pages(unsigned long address, unsigned long size);
  21. int vmalloc_area_pages(unsigned long address, unsigned long size);
  22.  
  23. #endif
  24.  
  25.